package protrade;

import java.util.List;

public interface ProManageDao {
	public int mlogin(String mnum,String psw);	
	public int delete(String pnum);  	
	public int addPro(String pnum,String name,Double price,String snum,String sellerphone,int tnum,int lnum,String other);
	public int update(String pnum,String name,Double price,String snum,String sellerphone,int tnum,int lnum,String other);	
	public List<Pro> findAllPro();
	public Pro findBypnum(String pnum);
	public List<Pro> findByName(String name);
}
